﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopPosterGoodsInfo")]
    public class PosterGoodsInfo : BaseObject
    {
        //begin
        public PosterGoodsInfo()
        {}
        public PosterGoodsInfo(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _NumId;
        public string NumId
        {
            get
            {
                return _NumId;
            }
            set
            {
                SetPropertyValue("NumId", ref _NumId, value);
            }
        }
        private string _PosterId;
        public string PosterId
        {
            get
            {
                return _PosterId;
            }
            set
            {
                SetPropertyValue("PosterId", ref _PosterId, value);
            }
        }
        private string _Title;
        public string Title
        {
            get
            {
                return _Title;
            }
            set
            {
                SetPropertyValue("Title", ref _Title, value);
            }
        }
        private string _ShortTitle;
        public string ShortTitle
        {
            get
            {
                return _ShortTitle;
            }
            set
            {
                SetPropertyValue("ShortTitle", ref _ShortTitle, value);
            }
        }
        private decimal _Price;
        public decimal Price
        {
            get
            {
                return _Price;
            }
            set
            {
                SetPropertyValue("Price", ref _Price, value);
            }
        }
        private string _Note;
        public string Note
        {
            get
            {
                return _Note;
            }
            set
            {
                SetPropertyValue("Note", ref _Note, value);
            }
        }
        private string _Url;
        public string Url
        {
            get
            {
                return _Url;
            }
            set
            {
                SetPropertyValue("Url", ref _Url, value);
            }
        }
        private string _PicId;
        public string PicId
        {
            get
            {
                return _PicId;
            }
            set
            {
                SetPropertyValue("PicId", ref _PicId, value);
            }
        }
        //end
    }
}
